package com.ruoyi.project.lesson.channel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 课程渠道对象 lesson_channel
 *
 * @author shixiangwen
 * @date 2021-04-21
 */
public class LessonChannel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 渠道号
     */
    @Excel(name = "渠道号")
    private String channelId;

    /**
     * 渠道名
     */
    @Excel(name = "渠道名")
    private String name;

    /**
     * 官网
     */
    @Excel(name = "官网")
    private String website;

    /**
     * app下载
     */
    @Excel(name = "app下载")
    private String appDownload;

    /**
     * 公众号
     */
    @Excel(name = "公众号")
    private String gongzhonghao;

    /**
     * 微信
     */
    @Excel(name = "微信")
    private String weixin;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    private String appPkg;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getWebsite() {
        return website;
    }

    public void setAppDownload(String appDownload) {
        this.appDownload = appDownload;
    }

    public String getAppDownload() {
        return appDownload;
    }

    public void setGongzhonghao(String gongzhonghao) {
        this.gongzhonghao = gongzhonghao;
    }

    public String getGongzhonghao() {
        return gongzhonghao;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public String getAppPkg() {
        return appPkg;
    }

    public void setAppPkg(String appPkg) {
        this.appPkg = appPkg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("channelId", getChannelId())
                .append("name", getName())
                .append("website", getWebsite())
                .append("appDownload", getAppDownload())
                .append("gongzhonghao", getGongzhonghao())
                .append("weixin", getWeixin())
                .append("createdTime", getCreatedTime())
                .toString();
    }
}
